cmake_minimum_required(VERSION 3.18)
project(LSystem LANGUAGES CXX)

add_library(LSystem STATIC)

aux_source_directory(. L_SYSTEM_SRCS)

target_sources(LSystem 
  PRIVATE	${L_SYSTEM_SRCS}
)
target_include_directories(LSystem 
  PUBLIC
  $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
  $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)
target_compile_features(LSystem PUBLIC cxx_std_17)
set_target_properties(LSystem
	PROPERTIES	POSITION_INDEPENDENT_CODE ON
)
